﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Desp.Master" CodeBehind="WfMinhasOS.aspx.vb" Inherits="PROJETO_ZEUS.WfMinhasOS" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .style1
    {
        width: 100%;
    }
        .style4
        {
        }
        .style12
        {
            height: 21px;
        }
        .style16
        {
        }
        .style17
        {
            width: 89%;
        }
        .style18
        {
            width: 29%;
        }
        .style19
        {
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="style1">
    <tr>
        <td class="style12" colspan="2">
            Buscar Ordem de Serviço por:</td>
        <td class="style12">
            </td>
    </tr>
    <tr>
        <td class="style19" colspan="3">
            <asp:DropDownList ID="DpBusca" runat="server" AutoPostBack="True" Height="21px" 
                Width="118px">
                <asp:ListItem>Código</asp:ListItem>
                <asp:ListItem>Todas</asp:ListItem>
                <asp:ListItem>Data</asp:ListItem>
<asp:ListItem>Status</asp:ListItem>
                <asp:ListItem>Nome Cliente</asp:ListItem>
            </asp:DropDownList>
            <asp:TextBox ID="tbBusca" runat="server" Width="155px"></asp:TextBox>
            <asp:Button ID="Button2" runat="server" Text="Buscar" />
        &nbsp;
            <asp:Label ID="lbmsg" runat="server" ForeColor="Red"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style16" colspan="3">
            <asp:Calendar ID="Calendario" runat="server" BackColor="White" 
                BorderColor="#999999" CellPadding="4" DayNameFormat="Shortest" 
                Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="180px" 
                Visible="False" Width="200px">
                <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                <NextPrevStyle VerticalAlign="Bottom" />
                <OtherMonthDayStyle ForeColor="#808080" />
                <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                <SelectorStyle BackColor="#CCCCCC" />
                <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
                <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                <WeekendDayStyle BackColor="#FFFFCC" />
            </asp:Calendar>
        </td>
    </tr>
    <tr>
        <td class="style4" colspan="3">
            <asp:GridView ID="gvOs" runat="server" AllowPaging="True" CellPadding="3" 
                ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" 
                BorderStyle="Dotted" BorderWidth="1px">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:CommandField SelectText="Selecione" ShowSelectButton="True" />
                    <asp:BoundField DataField="data_os" HeaderText="Data" 
                        SortExpression="data_os" />
                    <asp:BoundField ApplyFormatInEditMode="True" DataField="cod_os" 
                        HeaderText="Código O.S" SortExpression="cod_os" />
                    <asp:BoundField ApplyFormatInEditMode="True" DataField="cod_cli" 
                        HeaderText="Código Cliente" SortExpression="cod_cli" />
                    <asp:BoundField ApplyFormatInEditMode="True" DataField="nome_cli" 
                        HeaderText="Nome Cliente" SortExpression="nome_cli" />
                    <asp:BoundField DataField="tel_cli" HeaderText="Telefone" 
                        SortExpression="tel_cli" />
                    <asp:BoundField DataField="desc_stat" HeaderText="Status O.S" 
                        SortExpression="desc_stat" />
                    <asp:BoundField DataField="desc_serv" HeaderText="Serviço" 
                        SortExpression="desc_serv" />
                    <asp:BoundField DataField="pgt_os" HeaderText="Tipo Pagamento" 
                        SortExpression="pgt_os" />
                    <asp:BoundField DataField="valor_os" DataFormatString="{0:c2}" 
                        HeaderText="Valor" SortExpression="valor_os" />
                </Columns>
                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                <SortedDescendingHeaderStyle BackColor="#4870BE" />
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td class="style4" colspan="3">
            <asp:Button ID="AlterarOs" runat="server" BorderStyle="None" 
                Text="Alterar Ordem de Serviço" Visible="False" />
        </td>
    </tr>
    <tr>
        <td class="style19">
            &nbsp;</td>
        <td class="style18">
            &nbsp;</td>
        <td class="style17">
            &nbsp;</td>
    </tr>
</table>
</asp:Content>
